package com.hksj.cm.mapper;

import com.hksj.cbm.vo.DeviceInstanceVO;
import com.hksj.cm.dto.ClLargeScreenDTO;
import com.hksj.cm.vo.*;
import com.hksj.common.config.annotation.DS_TAOS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClLargeScreenMapper {

    List<CleanLevelDistVO> queryCleanLevelDist(@Param("dto") ClLargeScreenDTO dto);

    List<CleanLevelRankVO> queryCleanLevelRank(@Param("dto") ClLargeScreenDTO dto);

    List<DeviceInstanceVO> queryCleanLevelCalendarDevice(@Param("dto") ClLargeScreenDTO dto);

    @DS_TAOS
    List<CleanLevelCalendarVO> queryCleanLevelCalendar(@Param("tableName")String tableName,@Param("deviceIdList") List<String> deviceIdList,@Param("dto")ClLargeScreenDTO dto);

    List<DeviceVO> deviceList(@Param("dto")ClLargeScreenDTO dto);

    List<DeviceMetadataParseInfoVO> deviceProperty(@Param("dto")ClLargeScreenDTO dto,@Param("list") List list);

    //暂时不用、调用了通用查询接口
//    Map<String, Integer> eqOverviewList(@Param("dto")ClLargeScreenDTO dto);
}
